This section describes the command uxset msg (UXSETMSG on OS/400) which offers the means of communicating between the Uproc's executing procedure and its history trace visible from the job monitor. This means, for example, that operator instructions may be inserted in the history trace depending on what happens within the actual running procedure.
The History trace of the Uproc’s execution is available in the Dollar Universe interfaces "job monitor" or "execution history" by selecting this Uproc and by requesting the option "History trace".
All messages generated by this command are contained in the files of the executions history. Thus, the latter, depending on the volume processed, can become very large.
The command syntax is as follows:
uxset msg "var1" "var2" ..."var8"
Description of Items
var
Designates from 1 to 8 variables or lines of text. If var represents a local variable, its value will be translated in the History Trace; if var represents a text string, it will be transcribed identically in Dollar Universe history trace.
Each uxset msg command will display one message in the history trace. The maximum length for this message is 1600 characters (including spaces). The message will be truncated in lines of 80 character.
Example
On UNIX, this command will generate the following entry in the Uproc history trace if B_LONDON is the management unit for which the Uproc is running:
uxset msg " *** Current MU:" " ${S_CODUG}"
*** Current MU: B_LONDON